package com.tiku.controller.CO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiku.entity.ProductSpecifications;
import com.tiku.entity.TypeClass;
import com.tiku.entity.TypeClassChecked;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.bytebuddy.description.type.TypeList;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SetmealInfoCO {

    private String name;

    private List<String> tagList;

    /**
     * 现价
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal price;

    /**
     * 原价
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal sellingPrice;

    /**
     * 有效期
     */
    private Integer effectiveDays;

    /**
     * 大图
     */
    private String mobileShowImg;

    /**
     * 介绍图
     */
    private String content;

    private List<TypeClassChecked> typeList;

    private List<ProductSpecifications> specList;

}
